//
//  OosManagedObjectMover.h
//  oos4ios
//
//  Created by Pablo Gonzalez on 5/27/11.
//  Copyright 2011 11870.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "OosManagedContext.h"

@interface OosManagedObjectMover : NSObject {
    
    id mResult;
    NSManagedObjectContext *mSourcecontext;
    NSManagedObjectContext *mTargetContext;
    
}

+ (OosManagedObjectMover *) instance;

+ (id) moveObjectFromMaincontext: (id) object;

+ (id) moveObjectToMaincontext: (id) object;

+ (id) moveObjectToCurrentContext: (id) object;

@property (nonatomic, retain) NSManagedObjectContext *sourceContext;
@property (nonatomic, retain) NSManagedObjectContext *targetContext;
@property (nonatomic, retain) id result;

@end
